<?php
/**
 * Project:     itoFW: Ito PHP Framework
 * File:        configuration.php
 *
 * File contains array with system wide configuration.
 * 
 * @package itoFW
 * @version 1.0.0
 */
if (!defined('_ito_sys')) die('Neturite leidimo perziureti sia svetaines dali.');

//Duomenu bazes nustatymas.
$conf['db']['host'] = 'localhost';
$conf['db']['dbName'] = '*****';
$conf['db']['userName'] = '*****';
$conf['db']['password'] = '*****';

//Fiziniu keliu iki sistemos nustatymai
$conf['dir']['serverPath'] = $_SERVER['DOCUMENT_ROOT'];
$conf['dir']['subDir'] = dirname($_SERVER['PHP_SELF']);
$conf['dir']['system'] = $conf['dir']['serverPath'].$conf['dir']['subDir'];
$conf['dir']['libs'] = $conf['dir']['system'].'/system/libs';
$conf['dir']['components'] = $conf['dir']['system'].'/components';

$conf['dir']['tplCompiled'] = $conf['dir']['system'].'/template_c'; 
$conf['dir']['logs'] = $conf['dir']['system'].'/logs';

//URL keliu iki sistemos nustatymai
$conf['url']['system'] = 'http://dev.init.lt/developing/fw';
$conf['url']['images'] = $conf['url']['system'].'/files/images';
$conf['url']['docs'] = $conf['url']['system'].'/files/docs';
$conf['url']['includes'] = $conf['url']['system'].'/includes';

//Sistemos konfigurcija
$conf['sys']['logTime'] = '30'; //Kiek minuciu galioja prisijungimo sesija
$conf['sys']['debug'] = true;
$conf['sys']['defCom'] = ''; //Paleidziamo komponento pavadinimas jei nenurodyta kitaip $_GET;
?>